int daemon_init()
{// addr = 0x080482D4
    pid_t pid;
    intOrPtr _v8;
    intOrPtr _v24;
    _unknown_ r6;
    intOrPtr _t8;

    _t8 = L08053170(__eax, __edi, __esi);
    _v8 = _t8;
    if(_v8 >= 0) {
        if(_v8 != 0) {
            goto L3;
        }
L4:
        _v24 = 0;
        return _v24;
    }
    _v24 = -1;
    return _v24;
L3:
     *__esp = 0;
    L0805E0C0();
    goto L4;
}